ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / ImportAsFragment Method / ImportAsFragment(Byte[],ImageRect) Method
The source byte array with pixel buffer.
The destination rectangle within the target bitmap.

In This Topic
    ImportAsFragment(Byte[],ImageRect) Method
    In This Topic
    Loads the pixel buffer from a byte array to the given destination within the image.
    Syntax
    'Declaration
     
    Public Overloads Sub ImportAsFragment( _
       ByVal bytes() As System.Byte, _
       ByVal dstRect As ImageRect _
    ) 
    public void ImportAsFragment( 
       System.byte[] bytes,
       ImageRect dstRect
    )

    Parameters

    bytes
    The source byte array with pixel buffer.
    dstRect
    The destination rectangle within the target bitmap.
    See Also